/*
 * @Author: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @Date: 2022-06-27 18:39:24
 * @LastEditors: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @LastEditTime: 2022-07-27 15:08:06
 * @FilePath: \大宗买卖\ebuy\src\vuex\index.js
 * @Description:
 * 
 * Copyright (c) 2022 by fengweicong 75202172+fengweicong@users.noreply.github.com, All Rights Reserved. 
 */
import Vue from 'vue';
import Vuex from 'vuex';
//需要使用插件一次
Vue.use(Vuex);
//引入小仓库
import user from './modules/user'
import saler from './modules/saler'
import params from './modules/params'
import supplier from './modules/supplier'

const store = new Vuex.Store({
    //实现Vuex仓库模块化
    modules:{
        user,
        saler,
        supplier,
        params
    }
})

//对外暴露Store类的一个实例
export default store